
<div id="inlineContent">
  <div id="flashContent" style="margin-top:50px; font-size:15px;"><?php __('Photo viewer requires JavaScript and the Flash Player.'); ?> <a href="http://get.adobe.com/flashplayer/"><?php __('Get Flash'); ?></a></div>
</div>


<script type="text/javascript">
var _webroot = '<?php e($this->base); ?>';

function init () {
    var flashvars = {};
    flashvars.galleryURL = _webroot+'/albums/view/<?php e($id); ?>.xml';
    var params = {};
    params.allowfullscreen = true;
    params.allowscriptaccess = 'always';
    params.bgcolor = 'DCDDDF';
    swfobject.embedSWF(_webroot+'/img/simpleviewer.swf', 'flashContent', '<?php e($width); ?>', '<?php e($height); ?>', '9.0.124', false, flashvars, params);
} // init

<?php $this->addScript('Ext.onReady(function() { /*init();*/ });'); ?>
</script>